﻿@using Microsoft.Extensions.Primitives
<div>
	<h1>Log out</h1>
	<p class="lead text-left">您确定要注销登录吗?</p>

	<form asp-controller="Authorization" asp-action="Logout" method="post">
		@foreach (var parameter in Context.Request.HasFormContentType ?
		(IEnumerable<KeyValuePair<string, StringValues>>)Context.Request.Form : Context.Request.Query)
		{
		<input type="hidden" name="@parameter.Key" value="@parameter.Value"/>
		}

		<input class="btn btn-lg btn-success" name="Confirm" type="submit" value="Yes"/>
	</form>
</div>
